package no.ntnu.item.ttm4115.termproject.callhelprole_playeragent;

import no.ntnu.item.ttm4115.termproject.StartCallHelp;
import no.ntnu.item.ttm4115.termproject.callhelprole_playeragent.gui.Call4Help;
import no.ntnu.item.ttm4115.termproject.Location;
import no.ntnu.item.ttm4115.termproject.NewStatus;
import no.ntnu.item.ttm4115.termproject.HelpReqFromGA;
import no.ntnu.item.ttm4115.termproject.AskForHelp;
import no.ntnu.item.ttm4115.termproject.HelpReq;


public class CallhelpRole_PlayerAgentActions extends Object {

	public static void createCallHelpTab(StartCallHelp signal, CallhelpRole_PlayerAgentSM asm){
	    // TODO edit action statements
		asm.mainFrame = signal.mainFrame;
		asm.callHelpTab = new Call4Help(asm.mainFrame, asm.mainFrame.getPlayer(), asm);
		asm.mainFrame.getPane().addTab("Call 4 Help", asm.callHelpTab);	

	
	}

	public static void updateLocation(Location signal, CallhelpRole_PlayerAgentSM asm){
	    // TODO edit action statements
		
		System.out.println("update this location to the call help server !!!");
		
	}

	public static void updateStatus(NewStatus signal, CallhelpRole_PlayerAgentSM asm){
	    // TODO edit action statements
	asm.sendMessage(new NewStatus(), " address ");
	}

	public static void resetStatusField(CallhelpRole_PlayerAgentSM asm){
	    // TODO edit action statements
	}

	public static void handleHelpRequest(HelpReqFromGA signal, CallhelpRole_PlayerAgentSM asm){
	    // TODO edit action statements
	}

	public static void ignoreHelpReq(CallhelpRole_PlayerAgentSM asm){
	    // TODO edit action statements
	}

	public static void acceptHelpReq(CallhelpRole_PlayerAgentSM asm){
	    // TODO edit action statements
	}

	public static void askForHelp(AskForHelp signal, CallhelpRole_PlayerAgentSM asm){
	    // TODO edit action statements
	asm.sendMessage(new HelpReq(), " address ");
	}



}
